
convert_note.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
	int b;
	unsigned char c;
}bstruct;

int main()
{
   0:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
   4:	910003fd 	mov	x29, sp

	bstruct bs;
	bstruct * pbs;


	as.a = 250;
   8:	52801f40 	mov	w0, #0xfa                  	// #250
   c:	b9002ba0 	str	w0, [x29, #40]
	as.b = 'x';
  10:	52800f00 	mov	w0, #0x78                  	// #120
  14:	3900b3a0 	strb	w0, [x29, #44]

	bs.a = 'i';
  18:	52800d20 	mov	w0, #0x69                  	// #105
  1c:	390063a0 	strb	w0, [x29, #24]
	bs.b = 255;
  20:	52801fe0 	mov	w0, #0xff                  	// #255
  24:	b9001fa0 	str	w0, [x29, #28]
	bs.c = 'o';
  28:	52800de0 	mov	w0, #0x6f                  	// #111
  2c:	390083a0 	strb	w0, [x29, #32]

	// bs = (bs)as;	error.

	pbs = (bstruct *)&as;
  30:	9100a3a0 	add	x0, x29, #0x28
  34:	f9001fa0 	str	x0, [x29, #56]
	#if 1
	printf("%d = %c\n", pbs->a, pbs->b);
  38:	f9401fa0 	ldr	x0, [x29, #56]
  3c:	39400000 	ldrb	w0, [x0]
  40:	2a0003e3 	mov	w3, w0
  44:	f9401fa0 	ldr	x0, [x29, #56]
  48:	b9400401 	ldr	w1, [x0, #4]
  4c:	90000000 	adrp	x0, 0 <main>
  50:	91000000 	add	x0, x0, #0x0
  54:	2a0103e2 	mov	w2, w1
  58:	2a0303e1 	mov	w1, w3
  5c:	94000000 	bl	0 <printf>
	#else
	printf("%c = %d\n", pbs->a, pbs->b);
	#endif
	//printf("%c\n", pbs->c);

	pas = (astruct *)&bs;
  60:	910063a0 	add	x0, x29, #0x18
  64:	f9001ba0 	str	x0, [x29, #48]
	#if 1
	printf("%c = %d \n", pas->a, pas->b);
  68:	f9401ba0 	ldr	x0, [x29, #48]
  6c:	b9400001 	ldr	w1, [x0]
  70:	f9401ba0 	ldr	x0, [x29, #48]
  74:	39401000 	ldrb	w0, [x0, #4]
  78:	2a0003e2 	mov	w2, w0
  7c:	90000000 	adrp	x0, 0 <main>
  80:	91000000 	add	x0, x0, #0x0
  84:	94000000 	bl	0 <printf>
	#else
	printf("%d = %c \n", pas->a, pas->b);
	#endif

	return 0;
  88:	52800000 	mov	w0, #0x0                   	// #0
}
  8c:	a8c47bfd 	ldp	x29, x30, [sp], #64
  90:	d65f03c0 	ret
